package com.example.server.service;

import com.example.server.entity.User;
import java.util.List;

public interface UserService {
    User getUserById(int iduser);
    List<User> getAllUsers();
    void insertUser(User user);
    void updateUser(User user);
    void deleteUser(int iduser);
    User getUserByUsername(String username);
    public boolean isUsernameTaken(String username);

}
